package wei.xinya.pattern.creational.factory.FactoryMethod;

import wei.xinya.pattern.creational.factory.shape.Shape;
import wei.xinya.pattern.creational.factory.shape.Square;

public class SquareFactory implements Factory {
    @Override
    public Shape getShape() {
        return new Square();
    }
}
